package com.smartcommunity.entity.facelib;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 人脸库人员信息标签
 */
@Data@ApiModel(description = "人脸库人员信息标签请求参数模型。所有标记\"后端自动填充\"的属性都不需要前端传参。")
public class FaceLibPersonTag implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value="ID，主键序号",name="id")
    private String id;

    @ApiModelProperty(value="人员ID，关联FaceLibPerson.id,长度<=11",name="facePersonId")
    private String facePersonId;

    @ApiModelProperty(value="人脸库编号，查询时多个编号用英文逗号分隔，单个长度<=11",name="libId")
    private String libId;

    @ApiModelProperty(value="标签ID，查询时多个用英文逗号分隔，关联t_tag_ext.id，单个长度<=10",name="tagId")
    private String tagId;

//    @ApiModelProperty(value="小区编号，长度<=15",name="villageCode")
//    private String villageCode;

    @ApiModelProperty(value = "创建或修改时间，后端自动填充。每次修改人员信息时，会删除原来所有后再添加新的标签关系")
    private Timestamp mrowTime;
}
